package try1;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class test {
   static Logger log = LoggerFactory.getLogger(test.class);
    public static void main(String[] args) {
        try {
            int a = 10;
            int b = 0;
            int c = a / b;
            System.out.println(c);
        } catch (Exception e) {
            log.error("出现异常了");
        }
    }
}
